package com.primecodegen.common.AttributesProperties;

import com.primecodegen.common.base.*;
import com.primecodegen.util.ComConstants;

/**
 *----------------------------------------------------------
 *----------------------------------------------------------
 * @author Mohammad Awwad
 * Version: v0.0
 * contact: mhmdawwad@gmail.com
 *-----------------------------------------------------------
 *-----------------------------------------------------------
 */
public class AttributesPropertiesTable extends BaseTable {

    public AttributesPropertiesTable() {
        init();
    }
    public AttributesPropertiesOprCols Opr = new AttributesPropertiesOprCols();
    // ------------Members------------------
    private int ID;
    private int mainPrjID;
    private String mainPrjName;
    private String code;
    private String type;
    private String descr;
    private int categoryID;
    private String categoryName;

    // -----------Setters & Getters------------------
    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public int getMainPrjID() {
        return mainPrjID;
    }

    public void setMainPrjID(int mainPrjID) {
        this.mainPrjID = mainPrjID;
    }

    public String getMainPrjName() {
        return mainPrjName;
    }

    public void setMainPrjName(String mainPrjName) {
        this.mainPrjName = mainPrjName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public int getCategoryID() {
        return categoryID;
    }

    public void setCategoryID(int categoryID) {
        this.categoryID = categoryID;
    }

    @Override
    public void init() {

        ID = ComConstants.UNREALISTIC_INT;
        mainPrjID = ComConstants.UNREALISTIC_INT;
        mainPrjName = ComConstants.UNREALISTIC_STRING;
        code = ComConstants.UNREALISTIC_STRING;
        type = ComConstants.UNREALISTIC_STRING;
        descr = ComConstants.UNREALISTIC_STRING;
        categoryName = ComConstants.UNREALISTIC_STRING;
        categoryID = ComConstants.UNREALISTIC_INT;
    }
}
